package com.hdu.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 科目类型枚举
 *
 * @author xiaobai
 * @since 2023/11/1
 */
@Getter
public enum SubjectLabel {

    CHINESE("Chinese", "语文"),
    MATH("Math", "数学"),
    ENGLISH("English", "英语"),
    PHYSICAL("Physical", "物理"),
    CHEMISTRY("Chemistry", "化学"),
    BIOLOGY("Biology", "生物"),
    HISTORY("History", "历史"),
    GEOGRAPHY("Geography", "地理"),
    POLITICAL("Political", "政治");

    @EnumValue
    private final String value;
    @JsonValue
    private final String desc;

    SubjectLabel(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
